Dictionary.Keys Function

Returns all the keys in the Dictionary as an array of Variants. The order is stable and matches the order returned by the Values method at least until the Dictionary is modified.

Syntax

result = Dictionary.Keys( )

Return Value

Result

Variant

Notes

Use this method with For Each to loop through all the keys.